Skip to content

Use OrgID to match Orgs belong to users - #7441

Merged
6543 merged 11 commits into
woodpecker-ci:mainfrom
6543-forks:orgs-users_use-id-compare
Oct 31, 2026
Merged

6543 merged 11 commits into
woodpecker-ci:mainfrom
6543-forks:orgs-users_use-id-compare

Conversation

@6543

@6543 6543 commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

close #7436

instead of matching by login name we match by ID we also store ...
... this is more reliable
... and we clean up the migration mess

PS: OrgID was not always here but all users should be by now have it, it's migration was finished with all workarounds etc (#3810, #4307, ...) for woodpecker >= 2.8.0 witch was released November 2024 so ~ 2years in the past

@6543 6543 added bug Something isn't working server labels Oct 30, 2026
@woodpecker-bot

woodpecker-bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Surge PR preview deployment was removed

@6543
6543 requested a review from a team October 30, 2026 02:26
@6543
6543 requested a review from qwerty287 October 31, 2026 13:42

@qwerty287 qwerty287 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested

@6543
6543 merged commit 21313f0 into woodpecker-ci:main Oct 31, 2026
6 of 7 checks passed
@6543
6543 deleted the orgs-users_use-id-compare branch October 31, 2026 20:47
@6543

6543 commented Oct 31, 2026

Copy link
Copy Markdown
Member Author

remove from list

thanks

@woodpecker-bot woodpecker-bot mentioned this pull request Oct 31, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DB migration 024 uses wrong tables and does nothing on actual data

4 participants